package Two;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86138
 * Date: 2024-05-26
 * Time: 17:27
 */
public class Son extends Father{
    public void i(){
        System.out.println("这个学生叫：" + this.name + " 座号： " + this.num
                + " 班级： " + this.classname);
    }

    public static void main(String[] args) {
        Son son = new Son();
        son.classname = 1;
        son.name = "小郑";
        son.num = 11;
        son.i();
    }
}
